using System;

namespace Domain
{
    public class WorkflowHistory
    {
        public int Id { get; set; }
        public int WorkflowId { get; set; }
        public int? StepId { get; set; }
        public string Action { get; set; }
        public string PerformedBy { get; set; }
        public DateTime Timestamp { get; set; }
        public string Comment { get; set; }
        public string PreviousState { get; set; }
        public string NewState { get; set; }

        public WorkflowHistory()
        {
            Timestamp = DateTime.Now;
        }
    }
}